﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TravelsList.aspx.cs" Inherits="NJL.WebUsers.Visitor.TravelsList" %>

<%@ Import Namespace="Royalsoft.Common" %>
<%@ Register Src="~/Controls/WUCHeaderVisitor.ascx" TagName="WUCHeaderVisitor" TagPrefix="uc1" %>
<%@ Register Src="~/Controls/WUCFooterShop.ascx" TagName="WUCFooterShop" TagPrefix="uc3" %>
<%@ Register src="~/Controls/WUCVisitorSpaceLeftUserInfo.ascx" tagname="WUCVisitorSpaceLeftUserInfo" tagprefix="uc5" %>
<%@ Register src="~/Controls/WUCVisitorSpaceLeftLastVisitor.ascx" tagname="WUCVisitorSpaceLeftLastVisitor" tagprefix="uc6" %>
<%@ Register src="~/Controls/WUCVisitorSpaceLeftAttention.ascx" tagname="WUCVisitorSpaceLeftAttention" tagprefix="uc7" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>乡间小屋-农家乐网</title>
    <link rel="stylesheet" type="text/css" href="/Styles/personal/personl_001/base_001.css" />
    <script type="text/javascript" language="javascript" src="/Scripts/jquery-1.4.1.min.js"></script>
    <script src="/Scripts/js/jquery.skygqbox.1.3.js" type="text/javascript" charset="UTF-8"></script>
</head>
<body>
    <uc1:WUCHeaderVisitor ID="WUCHeaderVisitor1" runat="server" />
    <!--主要内容-->
    <div class="w1003 cleanFlex" id="content">
        <!--左侧-->
        <div class="w_200 float_l">
            <uc5:WUCVisitorSpaceLeftUserInfo ID="WUCVisitorSpaceLeftUserInfo1" runat="server" />
            <!--最近来访-->
            <div class="blank"></div>
            <uc6:WUCVisitorSpaceLeftLastVisitor ID="WUCVisitorSpaceLeftLastVisitor1" runat="server" />
            <!--我的关注-->
            <div class="blank cleanFlex"></div>
            <uc7:WUCVisitorSpaceLeftAttention ID="WUCVisitorSpaceLeftAttention1" runat="server" />
        </div>
        <div class="boxgreen w_790 float_r" style="_width: 785px; overflow: hidden;">
            <!--位置-->
            <div class="titlePerson">
                <h2>
                    我的主题</h2>
            </div>
            <div class="cont">
                <!--游记分类-->
                <div>
                    <div class="bloglist_status">
                        <%
                            if (UserId != "" && UserName != "" && UserId == Request.QueryString["uid"])
                            {
                        %>
                        <span class="float_r"><a href="/AdminVisitor/AddInformation.aspx">
                            <img src="/Images/personl/personal_001/writetrvel.jpg" alt="写游记" /></a> </span>
                        <%
                            }
                        %>
                        <span><strong>
                            <asp:Literal ID="lityjtype" runat="server"></asp:Literal>主题</strong>有<span><asp:Literal
                                ID="litNewsCount" runat="server"></asp:Literal></span>篇</span>
                        <div class="cleanFlex">
                        </div>
                    </div>
                    <div class="real_list cont">
                        <asp:Repeater ID="rptTravel" runat="server">
                            <ItemTemplate>
                                <dl class="imglist dashline" style="height: 85px;">
                                    <dt><a href="/wanjia/<%=Request.QueryString["uid"] %>-youji-<%#Eval("ID") %>.html"
                                        title="<%#Eval("NEWS_TITLE") %>">
                                        <img class="picBor" width="93px" height="69px" alt="<%#Eval("NEWS_TITLE") %>" src="<%#Eval("IMAGE_CODE").ToString()!=""?GetImageUrl(Eval("IMAGE_CODE").ToString(),"2"):"/Images/nopic.jpg" %>" />
                                    </a></dt>
                                    <dd class="float_r">
                                        <%
                                            if (UserId != "" && UserName != "" && UserId == Request.QueryString["uid"])
                                            {
                                        %>
                                        <a href="/AdminVisitor/EditInfoCenter.aspx?id=<%#Eval("ID") %>">编辑</a>
                                        <%
                                            }
                                        %>
                                    </dd>
                                    <dd>
                                        <h3 class="float_l">
                                            <a href="/wanjia/<%=Request.QueryString["uid"] %>-youji-<%#Eval("ID") %>.html">
                                                <%#PageValidate.SqlText(Eval("NEWS_TITLE").ToString(),20)%>
                                            </a>
                                        </h3>
                                        <span>
                                            <%#Eval("CREATE_DATE_TIME", "{0:yyyy-MM-dd HH:mm:ss}")%></span>
                                    </dd>
                                    <dd>
                                        <%#PageValidate.SqlText(Eval("NEWS_SUBJECT_TITLE").ToString(), 150)%></dd>
                                </dl>
                            </ItemTemplate>
                        </asp:Repeater>
                    </div>
                    <!--分页-->
                    <div id="pager" runat="server" class="cleanFlex page">
                    </div>
                </div>
                <!--右侧-->
                <div class="float_r w_155 cont" style="display: none;">
                    <!--搜索-->
                    <div class="blank">
                    </div>
                    <form id="form1" action="/SearchTopics.aspx" method="get">
                    <div>
                        <input type="text" name="keywords" class="input" style="width: 90px;" />
                        <input type="submit" value="搜索" class="btn" />
                    </div>
                    </form>
                    <!--游记分类-->
                    <div class="blank">
                    </div>
                    <div class="boxgreen">
                        <table cellpadding="0" cellspacing="0" width="100%" class="tab">
                            <tr>
                                <th>
                                    分类
                                </th>
                                <th class="right">
                                    <%--<a href="#">管理</a>--%>
                                </th>
                            </tr>
                            <tr>
                                <td>
                                    全部主题
                                </td>
                                <td class="right">
                                    (<asp:Literal ID="litAllNews" runat="server"></asp:Literal>)
                                </td>
                            </tr>
                            <asp:Repeater ID="newsType" runat="server" OnItemDataBound="newsType_ItemDataBound">
                                <ItemTemplate>
                                    <tr>
                                        <td>
                                            <a href="/wanjia/<%#Eval("TYPE_CODE") %>-<%=Request.QueryString["uid"] %>-yjlb.html"
                                                target="_blank">
                                                <%#Eval("TYPE_NAME")%></a>
                                        </td>
                                        <td class="right">
                                            (<asp:Literal ID="litNewsCount" runat="server"></asp:Literal>)
                                        </td>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                        </table>
                    </div>
                </div>
                <div class="cleanFlex">
                </div>
            </div>
        </div>
    </div>
    <uc3:WUCFooterShop ID="WUCFooterShop1" runat="server" />
</body>
</html>
